
var userName = process.argv[2];
var password = process.argv[3];
var str1 = "username: "+userName+" password: "+password;
var buf1 = Buffer.from(str1);
var str2 = buf1.toString('base64');
console.log(str1);
console.log("base64 :"+str2);